package com.evan.webadmin.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.evan.common.core.object.ResponseResult;
import com.evan.webadmin.biz.dto.EvluateNewDtoFilter;
import com.evan.webadmin.biz.dto.EvluateRecordNewDto;
import com.evan.webadmin.biz.model.EvluateRecord;
import com.evan.webadmin.biz.vo.EvluateRecordVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Pavel
 * @since 2025-03-11
 */
public interface IEvluateRecordService extends IService<EvluateRecord> {

    List<EvluateRecord> findByCondition(EvluateNewDtoFilter evluateFilter);

    ResponseResult<EvluateRecordNewDto> record(EvluateRecordNewDto frontDto, HttpServletRequest request);

    ResponseResult<EvluateRecordNewDto> exist(EvluateNewDtoFilter filter, HttpServletRequest request);

    List<EvluateRecordVO> rankList(long surveyId);

    long existCount(long surveyId);
}
